Component({
  properties: {
    img: {
      type: String,
      value: ''
    },
    index:{
      type:String,
      value:''
    }
  },
  data: {
    // title:String
  }, 
  methods: {
   
    _showEvent() {
      this.triggerEvent("showEvent");
    },
    _hideEvent() {
      this.triggerEvent("hideEvent");
    },
    clickClose(e){
      console.log(e);
      // this.$emit(1);
      this.triggerEvent('deleteIndex', {
        index: e.currentTarget.dataset.index
      })
  
    }
  },

})
